//table头信息 不变
var vr_columnData = [
    {"Width": "14%", "ColumnName": "ID"},
    {"Width": "15%", "ColumnName": "记录人"},
    {"Width": "14%", "ColumnName": "记录时间"},
    {"Width": "14%", "ColumnName": "记录类型"},
    {"Width": "14%", "ColumnName": "记录内容"},
    {"Width": "15%", "ColumnName": "下次回访时间"},
    {"Width": "14%", "ColumnName": "回访类型"}
];

//用户管理分页函数
var gotoPage = function (index) {
    var url = webPath + "/crm/getUserBypage.do"
    var pageNumber = index;
    var postData = {"pageSize": pageSize, "pageNumber": pageNumber}
    var options = {"passArguments": index}
    postAjax(url, postData, gotoPageSuccess, options);

};

var gotoPageSuccess = function (result, passArguments) {
    var columnList = ["recordId", "recordMan", "recordTime", "recordType", "recordContent",
        "nextCallTime", "callbackType"];
//$.post(url, postData, function (result) {
    cleanTableAndPage("contectRecordInfoTable");
//TODO remove
    var result = $("#trackRecords").text();
    var jsonData = $.parseJSON(result);
//画table
    $("#contectRecordInfoTable").MakeTable(false, vr_columnData, jsonData.list, tableClass, columnList);
//画分页
    $("#contectRecordInfoTable").after(comPagination(passArguments, pageSize, jsonData.totalNumber, "gotoPage", "contectRecordInfoP"));

//});
}
